package com.itheima.d1_char_stream;

import java.io.FileWriter;
import java.io.Writer;

public class FileWriteTest3 {
    public static void main(String[] args) throws Exception{
        Writer fw = new FileWriter("Day18-io-app\\src\\itheimaOut03.txt");

        fw.write('a');
        fw.write(97);
        fw.write('斌');

        fw.write("谢睿妍小傻蛋22");
        fw.write("\r\n");
        fw.write("谢睿妍小傻蛋11",0,6);

        fw.close();
    }
}
